import java.util.Scanner;

public class Work1 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x1 = scanner.nextInt();
        int x2 = scanner.nextInt();
        int x3 = scanner.nextInt();
        int x4 = scanner.nextInt();
        int a = (x1 + x3) / 2;
        int b = (x2 + x4) / 2;
        int c = x4 - b;
        if (a - b != x1 || b - c != x2 || a + b != x3 || b + c != x4) {
            System.out.print("No");
        } else {
            System.out.print(a + " ");
            System.out.print(b + " ");
            System.out.print(c);
        }
    }
}
